package com.imooc.town.service;

import com.imooc.town.dataobject.ProductCategory;

import java.util.List;

/**
 * Created by 10077 on 2018/3/21.
 * desc:
 */
public interface CategoryService {

    ProductCategory getOne(Integer categoryId);
    List<ProductCategory> getAll();
    List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList);
    ProductCategory save(ProductCategory productCategory);
}
